<template>
  <div id="data-view">
    <dv-full-screen-container>

      <TopHeader />

      <div class="main-content">
        <DigitalFlop />

        <div class="block-left-right-content">
          <RankingBoard />

          <div class="block-top-bottom-content">
            <div class="block-top-content">
              <rose-chart />
              <scroll-board />
            </div>
            <div class="block-bottom">
              <water-level-chart />
            </div>
          </div>
        </div>
      </div>
    </dv-full-screen-container>
  </div>
</template>

<script>
import TopHeader from './TopHeader'
import DigitalFlop from './DigitalFlop'
import RankingBoard from './RankingBoard'
import roseChart from './roseChart'
import waterLevelChart from './waterLevelChart'
import scrollBoard from './scrollBoard'
// import cards from './cards'

export default {
  name: 'DataView',
  components: {
    TopHeader,
    DigitalFlop,
    RankingBoard,
    roseChart,
    waterLevelChart,
    scrollBoard,
    // cards
  },
  data () {
    return {}
  },
  methods: {}
}
</script>

<style lang="less" scoped>
#data-view {
  width: 100%;
  height: 100%;
  background-color: #030409;
  color: #fff;

  #dv-full-screen-container {
    height: 100% !important;
    width: 100% !important;
    background-image: url('./img/bg.png');
    background-size: 100% 100%;
    box-shadow: 0 0 3px blue;
    display: flex;
    flex-direction: column;
  }

  .main-content {
    // flex: 1;
    display: flex;
    flex-direction: column;
    height: calc(100% - 100px);
  }

  .block-left-right-content {
    // flex: 1;
    display: flex;
    height: 85%;
    margin-top: 20px;
  }

  .block-top-bottom-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-left: 20px;

    .block-top-content {
      height: 55%;
      display: flex;
      flex-grow: 0;
      box-sizing: border-box;
      padding-bottom: 20px;
      justify-content: center;
    }

    .block-bottom {
      height: 45%;
    }
  }

  
}
</style>
